<template>
  <div id="app">
    <router-view class="router-view"></router-view>
  </div>
</template>

<script>
export default {
  name: 'app'
  ,
  data(){
    return {
      transitionName:'fade'
    }
  },
  watch: {
    $route (to, from) {
        console.log(from)
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
a{
  text-decoration: none;
}
html,body{
  margin:0px;
  padding:0px;
}
.header{
  height:1rem;
  width:100%;
  background:rgba(66,66,66,1);
  font-size:.5rem;
  line-height: 1rem;
  color:#fff;
}
</style>
